package com.ncloud.crm.service.impl;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ncloud.crm.entity.BsProduct;
import com.ncloud.crm.mapper.BsProductMapper;
import com.ncloud.crm.service.BsProductService;

@Service
public class BsProductServiceImpl implements BsProductService {
	
	private static final Logger logger = LogManager.getLogger(BsProductServiceImpl.class);
	@Autowired
	private BsProductMapper productMapper;
	
	@Override
	public int insertBsProduct(BsProduct product) {
		return productMapper.insertBsProduct(product);
	}

	@Override
	public int updateBsProduct(BsProduct product) {
		return productMapper.updateBsProduct(product);
	}
}
